home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-10-17 | 1.9 KB | 77 lines |
- # Begin Generic
- STDWIN= ..
- CONF= $(STDWIN)/conf
- H= $(STDWIN)/h
- TOOLS= $(STDWIN)/tools
- ALFA= $(STDWIN)/alfa
- MG1= $(STDWIN)/mg1
- X11= $(STDWIN)/x11
- X11LIBS= $(X11)/lib.a $(LIBX11)
- LIBX11= $(LIBXLIB)/libX11.a
- LIBXT= $(LIBXLIB)/libXaw.a $(LIBXLIB)/libXt.a
- XTLIBS= $(STDWIN)/xt/lib.a $(LIBXT) $(LIBX11)
- STUBS= $(STDWIN)/stubs
- INCLUDES= -I$(H) $(SYSINCLUDES) $(SITEINCLUDES) $(LINCLUDES)
- DEFS= $(SYSDEFS) $(SITEDEFS) $(LDEFS)
- CPPFLAGS= $(DEFS) $(INCLUDES)
- OPTIONS= $(SYSOPTIONS) $(SITEOPTIONS) $(LOPTIONS)
- CFLAGS= $(CPPFLAGS) $(OPTIONS)
- LDFLAGS= $(OPTIONS)
- LINTFLAGS= -bhv
- LINT= lint
- # End Generic
- # Begin Sys.bsd42
- SYSINCLUDES=
- SYSDEFS= -DNO_MEMCPY -DNO_VOID_FPTR
- SYSOPTIONS=
- LIBXLIB= /usr/lib
- # End Sys.bsd42
- # Begin Make.conf
- OBJS= endian.o getopt.o glob.o monocase.o strdup.o swap.o
- SRCS= endian.c getopt.c glob.c monocase.c strdup.c swap.c
- all: $(OBJS)
- # End Make.conf
- # Begin Rules
- all: Makefile
-
- Makefile: $(CONF)/Generic $(CONF)/Rules $(CONF)/mkmk Make.conf
- @echo "Makefile out-of-date -- rerun $(CONF)/mkmk"; exit 1
-
- depend: $(SRCS)
- $(CONF)/mkdep $(CPPFLAGS) $(SRCS) >@mkdep
-
- tags: $(SRCS) $(HDRS)
- ctags -w $(SRCS) $(HDRS)
-
- clean::
- -rm -f core *.o [,@#]*
-
- clobber:: clean
- -rm -f lib.a tags *.[A-Z]
-
- lint: $(SRCS) $(HDRS)
- $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(SRCS) $(LINTLIBS)
- # End Rules
- endian.o: endian.c
- endian.o: ../h/endian.h
- getopt.o: getopt.c
- getopt.o: ../h/configure.h
- glob.o: glob.c
- glob.o: /usr/include/stdio.h
- glob.o: /usr/include/strings.h
- glob.o: /usr/include/ctype.h
- glob.o: /usr/include/pwd.h
- glob.o: /usr/include/sys/types.h
- glob.o: /usr/include/sys/sysmacros.h
- glob.o: /usr/include/sys/dir.h
- monocase.o: monocase.c
- monocase.o: /usr/include/ctype.h
- strdup.o: strdup.c
- strdup.o: ../h/tools.h
- strdup.o: ../h/configure.h
- strdup.o: /usr/include/stdio.h
- strdup.o: /usr/include/ctype.h
- strdup.o: /usr/include/strings.h
- strdup.o: ../h/l_defs.h
- swap.o: swap.c
-